//
//  BindModel.m
//  
//  jhf
//
//  Created by 计海峰 on 2020/3/17.
//  Copyright © 2020 计海峰. All rights reserved.
//

#import "BindModel.h"

@implementation BindModel

+ (BindModel *)initWithBindey:(NSString *)key model:(id)model; {
    BindModel *m = [[BindModel alloc] init];
    m.action = [ActionModel initBindKey:key];
    m.model = model;
    return m;
}

- (NSMutableDictionary<NSString *,NSString *> *)data {
    if (!_data) {
        _data = [NSMutableDictionary dictionary];
    }
    return _data;
}


- (NSMutableDictionary<NSString *,NSString *> *)additionData {
    if (!_additionData) {
        _additionData = [NSMutableDictionary dictionary];
    }
    return _additionData;
}

@end
